package vo {
	import flash.net.SharedObject;
	
	
	public class UserVO	{
		private var userSO:SharedObject;
		
		public var _weight:int = 85;
		public var _step:int = 80;
		
		public function UserVO():void {
			userSO = SharedObject.getLocal("UserVO");
			
			if(userSO == null || userSO.data == null || userSO.data.userId == null) {
				userSO.setProperty("userId", "");
			}
				
			if(userSO == null || userSO.data == null || userSO.data.password == null) {
				userSO.setProperty("password", "");
			}
		}
		
		public function set userId(uid:String):void {
			userSO.setProperty("userId", uid);
		}
		
		public function get userId():String {
			return userSO.data.userId;
		}
		
		public function set password(pwd:String):void {
			userSO.setProperty("password", pwd);
		}
		
		public function get password():String {
			return userSO.data.password;
		} 
	}
}